/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.pku.hawk.cloud.util;

/**
 *
 * @author Administrator
 */
public class CloudCfg {

    public static final String POOL_MASTER_IP = "172.16.0.201";
    public static final String TEMPLATE_UUID = "291d0431-6770-7d35-ede0-b19faeca93c1";//CentOS_5.3_TPL
    public static final double CPU_PEAK_FACTOR = 0.8;
    public static final double MEM_PEAK_FACTOR = 0.8;
    public static final double DISK_PEAK_FACTOR = 0.8;
    public static final double CPU_TROUGH_FACTOR = 0.2;
    public static final double MEM_TROUGH_FACTOR = 0.2;
    public static final double DISK_TROUGH_FACTOR = 0.2;
    public static final double CPU_REALL0CATE_FACTOR = 0.2;
    public static final double MEM_REALL0CATE_FACTOR = 0.2;
    public static final double DISK_REALL0CATE_FACTOR = 0.2;
    public static final int PROFILING_WINDOW_LENGTH = 7;
    public static final int MIGRATION_FACTOR = 6;
    public static final String SWAP_NODE_IP = "192.168.0.99";
    public static final int MONITOR_PORT = 9080;
    public static final double VOLUME_CPU_FACTOR = 0.6;
    public static final double VOLUME_MEM_FACTOR = 0.6;
    public static final double VOLUME_DISK_FACTOR = 0.6;
    public static final String OS_USER = "root";
    public static final String OS_PASSWORD = "123456";
    /**
     *Socket Messgae的格式：
     * NodeStatus:
     *  nodeIP#nodeCPUUsgae#nodeMemoryUsage#nodeDiskUsage#
     *   vmIP*vmCPUCap*vmCPUUsage*vmMemoryCap*vmMemoryUsage*vmDsikCap*vmDiskUsage$
     *   vmIP*vmCPUCap*vmCPUUsage*vmMemoryCap*vmMemoryUsage*vmDsikCap*vmDiskUsage


     */
}
